﻿<%@ Page Language="C#" AutoEventWireup="true"  Inherits="ZX.Web.UI.Controls.BasePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
 <title></title>
 <style type="text/css">
body
{
    margin:0px;
     background-color:#fff;
}
.div_main_menu
{
    overflow: auto;
    margin:0px;
}

UL LI
{
    float: left;
    width: 80px;
    height:100px;
    overflow: hidden;
    list-style: none;
    border:1px solid #ddd;
    margin:4px;
}


/*原图显示样式*/
#ImageList img
{
    width:76px;
    height:76px;
    padding:4px;
}

h1
{
    font-size:12px;
}


</style>
</head>
<body class="div_main_menu">

        <div id="ImageList">
        </div>
</body> 
<script src="imagedata.aspx?path=<%=GetStringFromQueryString("path", "/")%>" type="text/javascript"></script>
<script src="/Scripts/jquery-1.6.min.js" type="text/javascript"></script>

<script type="text/javascript">
    //var fnCreateImages = function () {
      var _list = "";
      $(imageList).each(function (i) {
          obj = imageList[i];
          _list = _list + '<LI class="menu_item_2"  title="' + obj.fileName + '"><img url="' + obj.filePath + '" src="' + obj.filePath + obj.fileName + '" title="' + obj.fileName + '"/>'+ obj.fileName+'</LI>';

      });
        var nav = "<ul id=\"tb_menu_list\" class=\"main-application-list clearfix\">" + _list + "</ul>";
        $("#ImageList").html(nav);
        $("img").click(function () {
            parent.fnSelectIcon($(this).attr("src"));
        });
    //}
</script> 
</html>
